﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DBLibrary
{
    public class ColumnMapAttribute : Attribute
    {
        private string _columnName;
        public string ColumnName
        {
            get { return _columnName; }
        }
        private bool _isArray;
        public bool IsArray
        {
            get { return _isArray; }
            set { _isArray = value; }
        }

        private bool _isIdentity;
        public bool IsIdentity
        {
            get { return _isIdentity; }
            set { _isIdentity = value; }
        }

        public ColumnMapAttribute(string colName)
        {
            _columnName = colName;
            _isArray = false;
            _isIdentity = false;
        }
    }
}
